package main

import "fmt"

type Student struct {
	age int
}

func (std *Student) getAge() int {
	if std == nil {
		return 11
	}
	return std.age
}

func main() {
	a := &Student{}
	a = nil
	fmt.Println(a.getAge())
}
